//
//  ItemListController.h
//  Stock
//
//  Created by blacksun on 11-6-11.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <iAd/iAd.h>
#import "StockAppHelper.h"
#import "StockAppDelegate.h"
#import "StockContext.h"
#import "MacroDefine.h"
#import "NormalStockChildListController.h"

@interface ItemListController : UIViewController<UIScrollViewDelegate,ADBannerViewDelegate> {
    UIScrollView *scrollView;
    UIViewController *childViewController;
    UIView *lastChildView;
    UIImageView *leftOffsetImgaeView;
    UIImageView *rightOffsetImageView;
    UIImageView *selectedImageView;
    NSDictionary *stockSection;
    int selectedChildIndex;
    UIView *titleView;
    
    UILabel *updateTimeLabel;
    UIView *containerView;
    
    ADBannerView *bannerView;
}
@property(nonatomic, retain) IBOutlet UIScrollView *scrollView;
@property(nonatomic, retain) UIViewController *childViewController;
@property(nonatomic, retain) UIView *lastChildView;
@property(nonatomic, retain) IBOutlet UIImageView *leftOffsetImgaeView;
@property(nonatomic, retain) IBOutlet UIImageView *rightOffsetImageView;
@property(nonatomic, retain) IBOutlet UIImageView *selectedImageView;
@property(nonatomic, retain) NSDictionary *stockSection;
@property(nonatomic, retain) IBOutlet UIView *titleView;
@property(nonatomic, retain) IBOutlet UILabel *updateTimeLabel;
@property(nonatomic, retain) IBOutlet UIView *containerView;
@property(nonatomic, retain) IBOutlet ADBannerView *bannerView;

-(void)didClikedStockChildSegment:(id)sender;
@end
